<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

</head>

<body>
<s:if test="%{39>=#session.user.slevel}">
<form action="/ssteam/workreport/insert_ok.do" method=post id="reportfrm">
</s:if>
<s:else>
<form action="/ssteam/workreport/insert_ok1.do" method=post id="reportfrm">
<input type="hidden" name="get" value="1111111"/>
</s:else>
<h3><b>업무 보고서 작성</b></h3>
<table border=0 width=750 height=525 cellpadding="0" cellspacing="0" >

<tr valign="bottom">
<td width=130 align=right>&nbsp;보고서 제목&nbsp;&nbsp; </td>
<td width=600 align=left><input type=text size=35 name=subject ></td>
</tr>
<tr valign="bottom">
<td width=130 align=right>&nbsp;받는사람&nbsp;&nbsp;</td>
<td width=600 align=left>
<input type="hidden" name="agreer" value=1111111>
 <s:if test="%{39>=#session.user.slevel}">
<select name="get">
	<s:iterator  value="list">
		<option value="${sabun }">${name }(${sabun })</option>
	</s:iterator>
</select>
 </s:if>
 <s:else>
 	조병훈(1111111)-Direct Report
 </s:else>
<!--  <input type=text  name=get size="7" maxlength="7"> -->
<input type="hidden" name="sabun" value="${session.user.sabun }">
<s:if test="%{#session.user.slevel==40}">
<input type="hidden" name="type" value="2">
</s:if>
<s:else>
<input type="hidden" name="type" value="1">
</s:else>
</td>
</tr>
<tr>
<td colspan=2></td>
</tr>
<tr>
<td colspan=2 align=center valign="top">
<textarea rows="26" cols="91" name="content">
보고서 기한  :           ~


보고서 대상자:


보고문  :



 


건의 사항    :

</textarea>
</td>
</tr>
<tr>
<td colspan=2 align=center>

<s:if test="%{39>=#session.user.slevel}">
<s:a formId="reportfrm" theme="ajax" targets="incenter" showLoadingText="false">보고서작성</s:a>&nbsp;&nbsp;
</s:if>
<s:else>
<s:a formId="reportfrm" theme="ajax" targets="incenter" showLoadingText="false">보고서작성-직</s:a>&nbsp;&nbsp;
</s:else>
<s:a href="/ssteam/workreport/main.do" theme="ajax" targets="center" showLoadingText="false">취소</s:a>
</td>
</tr>
</table>
</form>
</body>
</html>